package cn.com.flat.web.json;

/**
 * 标题: JSON返回类型
 * <p>
 * 描述: 所有返回JSON格式都采用此类型
 * <p>
 * 版权：Copyright (c) 2016
 * <p>
 *
 * @author 张顺
 * @created 2016/11/06/22:21
 * @version 1.0
 */
public class JsonResponse {
    private String message;
    private String code;
    private String status;
    private Object object;


    public JsonResponse() {
    }

    public JsonResponse(String message, String code) {
        this.message = message;
        this.code = code;
    }

    public JsonResponse(String message, String code, String status) {
        this.message = message;
        this.code = code;
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
